package com.yeyaomai.dksns.flowis.service.impl;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.yeyaomai.dksns.flowis.dao.VisitDepthDao;
import com.yeyaomai.dksns.flowis.domain.VisitDepth;
import com.yeyaomai.dksns.flowis.service.VisitDepthService;

@Service
public class VisitDepthServiceImpl implements VisitDepthService {
	@Resource
	private VisitDepthDao visitDepthDao;

	@Override
	public void add(VisitDepth visitDepth) {
		// TODO Auto-generated method stub
		visitDepthDao.add(visitDepth);
	}

	@Override
	public VisitDepth getById(long id) {
		// TODO Auto-generated method stub
		return visitDepthDao.getById(id);
	}

	@Override
	public List<VisitDepth> getByDate(String start, String end) {
		// TODO Auto-generated method stub
		return visitDepthDao.getByDate(start, end);
	}

}
